home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgtts2.z / dgtts2
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGTTTTTTTTSSSS2222((((3333SSSS))))                                                          DDDDGGGGTTTTTTTTSSSS2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGTTS2 - solve one of the systems of equations A*X = B or A'*X = B,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DGTTS2( ITRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB )
  13.  
  14.          INTEGER        ITRANS, LDB, N, NRHS
  15.  
  16.          INTEGER        IPIV( * )
  17.  
  18.          DOUBLE         PRECISION B( LDB, * ), D( * ), DL( * ), DU( * ), DU2(
  19.                         * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DGTTS2 solves one of the systems of equations A*X = B or A'*X = B, with a
  36.      tridiagonal matrix A using the LU factorization computed by DGTTRF.
  37.  
  38.  
  39. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  40.      ITRANS  (input) INTEGER
  41.              Specifies the form of the system of equations.  = 0:  A * X = B
  42.              (No transpose)
  43.              = 1:  A'* X = B  (Transpose)
  44.              = 2:  A'* X = B  (Conjugate transpose = Transpose)
  45.  
  46.      N       (input) INTEGER
  47.              The order of the matrix A.
  48.  
  49.      NRHS    (input) INTEGER
  50.              The number of right hand sides, i.e., the number of columns of
  51.              the matrix B.  NRHS >= 0.
  52.  
  53.      DL      (input) DOUBLE PRECISION array, dimension (N-1)
  54.              The (n-1) multipliers that define the matrix L from the LU
  55.              factorization of A.
  56.  
  57.      D       (input) DOUBLE PRECISION array, dimension (N)
  58.              The n diagonal elements of the upper triangular matrix U from the
  59.              LU factorization of A.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGTTTTTTTTSSSS2222((((3333SSSS))))                                                          DDDDGGGGTTTTTTTTSSSS2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      DU      (input) DOUBLE PRECISION array, dimension (N-1)
  75.              The (n-1) elements of the first super-diagonal of U.
  76.  
  77.      DU2     (input) DOUBLE PRECISION array, dimension (N-2)
  78.              The (n-2) elements of the second super-diagonal of U.
  79.  
  80.      IPIV    (input) INTEGER array, dimension (N)
  81.              The pivot indices; for 1 <= i <= n, row i of the matrix was
  82.              interchanged with row IPIV(i).  IPIV(i) will always be either i
  83.              or i+1; IPIV(i) = i indicates a row interchange was not required.
  84.  
  85.      B       (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS)
  86.              On entry, the matrix of right hand side vectors B.  On exit, B is
  87.              overwritten by the solution vectors X.
  88.  
  89.      LDB     (input) INTEGER
  90.              The leading dimension of the array B.  LDB >= max(1,N).
  91.  
  92. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  93.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  94.  
  95.      This man page is available only online.
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.